package com.huawei.appmarket.service.store.awk.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appmarket.service.store.awk.card.SubstanceHostAppCard;
import o.cdr;
import o.cih;
import o.exm;

public class SubstanceHostAppNode extends cdr {
    public SubstanceHostAppNode(Context context) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutInflater from = LayoutInflater.from(this.ॱ);
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
        exm ˊ = exm.ˊ(from, null);
        cih substanceHostAppCard = new SubstanceHostAppCard(this.ॱ);
        substanceHostAppCard.ˎ(ˊ);
        ˊ(substanceHostAppCard);
        viewGroup.addView(ˊ.ॱ(), layoutParams);
        return true;
    }
}
